From: Brion Vibber Date: Tue, 7 Sep 2004 02:29:04 +0000 (+0000) Subject: Just return if running on PostgreSQL, as this change predates PG support. X-Git-Tag: 1.5.0alpha1~2072 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=5bd8b35624de0b040cc42e7d52f61f7089a6f2bd;p=lhc%2Fweb%2Fwiklou.git Just return if running on PostgreSQL, as this change predates PG support. --- diff --git a/maintenance/convertLinks.inc b/maintenance/convertLinks.inc index 0d75c81384..0a784957d0 100644 --- a/maintenance/convertLinks.inc +++ b/maintenance/convertLinks.inc @@ -7,6 +7,12 @@ /** */ function convertLinks() { + global $wgDBtype; + if( $wgDBtype == 'PostgreSQL' ) { + print "Links table already ok on PostgreSQL.\n"; + return; + } + print "Converting links table to ID-ID...\n"; global $wgLang, $wgDBserver, $wgDBadminuser, $wgDBadminpassword, $wgDBname;